
import { R, page, PageQuery,ResponseData } from '../common/type'

export interface Role {
    roleId?: number;
    roleName?: string;
    roleKey?: string;
    roleSort?: number;
    dataScope?: string;
    status?: string;
    delFlag?: string;
    createBy?: string;
    createTime?: string;
    updateBy?: string;
    updateTime?: string;
    remark?: string;
    beginTime?: string;
    endTime?: string;
    menus?: [];
    switchStatus?: boolean;

}

// 查询角色分页返回对象
export interface RolePageResponse extends ResponseData{
    data: page<Role>

}

/** 分配角色） */
export interface AssignRole {
    userId: number;
    roleIds: number[];

}


